
package pri.syl.xiaowu.websocket.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * @Author YunLong
 * @Date 2021/7/18 17:30
 * @Description 开启webSocket的路由注解
 **/
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface WebsocketRoute {
    String value();
}
